WP_Defender\Component\Config\Config_Hub_Helper A

Total Complexity 62
Dependencies 4
Dependents 18
Total lines 506
Lines of code 267
Logical lines of code 150
Comment lines 130
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_hub_configs_response()
A
47 9 36
check_and_save_configs_to_hub()
S
55 7 20
fetch_current_configs()
S
51 6 27
insert_to_hub()
S
49 5 33
update_on_hub()
S
52 5 25
active_config_from_hub_id()
S
56 5 19
clear_config_transient()
S
62 5 11
delete_configs_from_hub()
S
56 4 18
send_request()
S
59 2 16
get_configs()
S
62 2 11
get_plugin_details()
S
68 2 7
delete_hub_removed_configs()
S
72 2 6
get_fresh_frontend_configs()
S
66 2 8
set_clear_active_flag()
S
70 2 6
check_remove_active_flag()
S
66 2 8
add_configs_to_hub()
S
68 1 7
format_hub_config_to_save()
S
64 1 9